package com.ease.framework.gef4g {

   public class GraphicalBehavior {
      public static const Behavior_Select:int = 0;
      public static const Behavior_Marquee:int = 1;
      public static const Behavior_CreateEdge:int = 2;

      public static const Behavior_MoveNode:int = 3;
      public static const Behavior_MoveEdge:int = 4;

      public static const Behavior_MoveEdgeAnchor_Source:int = 11;
      public static const Behavior_MoveEdgeAnchor_Target:int = 12;

      private var _behaviorType:int = 0;
      private var _behaviorData:* = null;

      public function GraphicalBehavior(behaviorType:int = 0, behaviorData:* = null) {
         _behaviorType = behaviorType;
         _behaviorData = behaviorData;
      }

      public function set behaviorType(value:int):void {
         _behaviorType = value;
      }

      public function get behaviorType():int {
         return _behaviorType;
      }

      public function set behaviorData(value:*):void {
         _behaviorData = value;
      }

      public function get behaviorData():* {
         return _behaviorData;
      }
   }
}